Skip to main content

Retrieve Content

Retrieves an auto-generted social media post for your property.

Parameters​

address - required​

Street of the property the property.

city - required​

City of the property.

state - required​

State of the property.

zipcode - required​

Zipcode of the property.

type - required​

Pass sale or rent to determine what type of listing to create.

building_details - required​

A list of details about the property you want highlighted in the post.

Code Example​

POST - https://api.particlespace.com/api/v1/ai/social/content
var axios = require('axios');
var qs = require('qs');
const BEARER_TOKEN = 'SET_ME';
var data = qs.stringify({
address: '123 Awesome St'
city: 'Kansas City',
state: 'MO',
zipcode: 12345,
type: 'sale'
building_details: "Sqft: 1234, Beds: 4, Baths: 3, Year Built: 2020",
});
var config = {
method: 'post',
url: 'https://api.particlespace.com/api/v1/ai/social/content',
headers: {
'Authorization': 'Bearer ' + BEARER_TOKEN
},
data : data
};

axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});